package com.kexuexiong.demo.bear.liteflow;

import cn.hutool.core.collection.ListUtil;
import com.yomahub.liteflow.annotation.LiteflowComponent;
import com.yomahub.liteflow.core.NodeIteratorComponent;

import java.util.ArrayList;
import java.util.Iterator;

@LiteflowComponent("xcmp")
public class XCmp extends NodeIteratorComponent {
    @Override
    public Iterator<?> processIterator() throws Exception {
        ArrayList<String> list = ListUtil.toList("fuck man", "av man", "boy girl man", "diao nimagehei");
        return list.iterator();
    }
}
